package order

import (
	"context"
	"git.900sui.cn/kc/rpcinterface/client"
	"git.900sui.cn/kc/rpcinterface/interface/order"
)

type ExperienceOrder struct {
	client.Baseclient
}

//初始化
func (e *ExperienceOrder) Init() *ExperienceOrder {
	e.ServiceName = "rpc_order"
	e.ServicePath = "ExperienceOrder"
	return e
}

/*//创建体验活动订单
func (e *ExperienceOrder) CreateOrder(ctx context.Context, args *order.ArgsUserCreateExperienceOrder, reply *order.ReplyUserCreateProductOrder) error {
	return e.Call(ctx, "CreateOrder", args, reply)
}*/

//根据experienceOrderId 获取信息 - rpc
func (e *ExperienceOrder) GetExperienceOrder(ctx context.Context, experienceOrderId int, reply *order.ReplyGetExperienceOrder) error {
	return e.Call(ctx, "GetExperienceOrder", experienceOrderId, reply)
}